package com.allming.boot.baidu.map.model;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * ReverseGeoCodingRespResult
 * @author ming
 * @date 2020-06-30 20:25
 */
@Getter
@Setter
public class ReverseGeoCodingRespResult extends  BaseModel {
    private Location location;
    @JsonAlias("formatted_address")
    private String formattedAddress;
    private String business;
    private AddressComponent addressComponent;
    private List<Poi> pois;
    private List<Road> roads;
    private List<PoiRegion> poiRegions;
    /**
     * 当前位置结合POI的语义化结果描述。
     */
    @JsonAlias("sematic_description")
    private String semanticDescription;
    /**
     * 百度定义的城市id（正常更新与维护，但建议使用adcode）
     */
    @JsonAlias("cityCode")
    private Integer cityCode;
}
